/*
 * @Date: 2020-07-16 16:07:07
 * @LastEditTime: 2022-10-09 10:11:50
 * @Description: 计算属性
 * @FilePath: \vue-leng\src\store\getters.js
 */ 

export default{
    initConfig: state => state.initConfig,
    getKeepAliveList(state) {
      return state.keepAliveList
    }
    // age20: item => item.student.filter(i=>i.age>20),
    // age20length: (e,gts)=> gts.age20.length ,
    // moreage(e){
    //     //必须return一个方法传入年龄
    //     return function(ages){
    //         return e.student.filter(i=>i.age>ages);
    //     }
    // }
  }